Build_Transformation_Gateway:

 ld c, 1  ;Transformation Gateway ID
 jr AddObjectToGameBegin

Build_Refinery:

 ld c, 5 
 jr AddObjectToGameBegin

Build_Point_Defense:

 ld c, 2  
 jr AddObjectToGameBegin

Build_ACC:

 ld c, 15
 jr AddObjectToGameBegin

Build_AA_Tower:

 ld c, 3  
 jr AddObjectToGameBegin

Build_Detector:

 ld c, 6 
 jr AddObjectToGameBegin

Build_Watchtower:

 ld c, 7 
 jr AddObjectToGameBegin

Build_Universal_Defense:

 ld c, 4 
 jr AddObjectToGameBegin

Build_Argo_Laboratory:

 ld c, 8  
 jr AddObjectToGameBegin

Build_Factory:

 ld c, 9  
 jr AddObjectToGameBegin

Build_Starbase:

 ld c, 10  
 jr AddObjectToGameBegin

Build_Armory:

 ld c, 11  
 jr AddObjectToGameBegin

Build_Manhatton_Center:

 ld c, 13 
 jr AddObjectToGameBegin

Build_Command_Center:

 ld c, 12 
 jr AddObjectToGameBegin

Build_Operation_Center:

 ld c, 0
 jr AddObjectToGameBegin

Build_Quantum_Facility:

 ld c, 14  
 jr AddObjectToGameBegin





Goto_Build_Research_Buildings:

 ld e, ResearchBuildings
 ret

Goto_Build_Basic_Buildings:

 ld e, BasicBuildings
 ret

AddObjectToGameBegin:

 call AddObjectToGame
 
 jp Do_Menu_Operation_Return 




Draw_Item_Description: 

 push hl

 ld de, 19
 add hl, de


 call Get_X_Y_Icon_Menus
 add a, a

 ld d, 0
 ld e, a
 add hl, de
 
 ld e, (hl)
 inc hl
 ld d, (hl)
 ex de, hl

 ld b,0
 ld c, (hl)
 
 push bc


 inc hl
 push hl
 ld hl, 0
 ld (penCol),hl
 pop hl
 push hl
 ld de, OP1
 ldir
 ld hl, OP1
 B_CALL _VPutS


 ld hl, 6*256+0
 ld (penCol), hl
 pop hl
 pop bc


 add hl, bc

 ld b,0
 ld c, (hl)
 ld a, c
 or a
 jr z, End_Draw_Item_Description
 inc hl
 ld de, OP1
 
 ldir
 ld hl, OP1
 B_CALL _VPutS

End_Draw_Item_Description:

 pop hl
  
 ret 

Get_X_Y_Icon_Menus:

 ld a, (TagX)

 rra
 rra
 rra
 rra

 ld e,a

 ld a, (TagY)
 sub 17
 

 rra
 rra
 rra
 rra
 
 ld d,a
 
 add a, d
 add a, d
 add a, e

 
 ret